﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Domain.Accounts
{
    /// <summary>
    /// 权限
    /// </summary>
    public class Promission
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int PromissId {  get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PromissName { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Iocn { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int PromissType {  get; set; }
        /// <summary>
        /// 路由权限
        /// </summary>
        public string PromissRoute { get; set; }
        /// <summary>
        /// 缓存
        /// </summary>
        public bool RouteCache { get; set; }
        /// <summary>
        /// 文件路径
        /// </summary>
        public string FilePath { get; set; }
        /// <summary>
        /// 是否显示
        /// </summary>

        public bool IsShow { get; set; }
    }
}
